<?php
/** @var ValoresNutricionalesController $this */
/** @var ValoresNutricionales $data */
?>
<div class="view">
                    
        <?php if (!empty($data->alimentos->nombre)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('alimentos_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->alimentos->nombre); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->porcentaje_agua)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('porcentaje_agua')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->porcentaje_agua); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->agua_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('agua_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->agua_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->energia_kcal)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('energia_kcal')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->energia_kcal); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->proteinas_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('proteinas_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->proteinas_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->grasa_total_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('grasa_total_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->grasa_total_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->carbohidratos_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('carbohidratos_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->carbohidratos_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->fibra_dietetica_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('fibra_dietetica_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->fibra_dietetica_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->fibra_cruda_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('fibra_cruda_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->fibra_cruda_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->fibra_dietaria_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('fibra_dietaria_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->fibra_dietaria_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->ceniza_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('ceniza_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->ceniza_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->calcio_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('calcio_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->calcio_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->fosforo_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('fosforo_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->fosforo_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->hierro_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('hierro_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->hierro_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->tiamina_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('tiamina_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->tiamina_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->riboflavina_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('riboflavina_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->riboflavina_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->niacina_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('niacina_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->niacina_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->vitamina_c_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('vitamina_c_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->vitamina_c_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->vitamina_a_eqiv_retinol_mcg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('vitamina_a_eqiv_retinol_mcg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->vitamina_a_eqiv_retinol_mcg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->acidos_grasos_monoinsat_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('acidos_grasos_monoinsat_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->acidos_grasos_monoinsat_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->acidos_grasos_poliinsaturad_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('acidos_grasos_poliinsaturad_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->acidos_grasos_poliinsaturad_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->acidos_grasos_saturados_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('acidos_grasos_saturados_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->acidos_grasos_saturados_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->colesterol_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('colesterol_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->colesterol_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->potasio_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('potasio_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->potasio_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->sodio_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('sodio_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->sodio_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->zinc_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('zinc_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->zinc_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->magnesio_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('magnesio_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->magnesio_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->vitamina_b6_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('vitamina_b6_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->vitamina_b6_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->vitamina_b12_mcg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('vitamina_b12_mcg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->vitamina_b12_mcg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->folato_mcg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('folato_mcg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->folato_mcg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->porcentaje_fracc_comestible)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('porcentaje_fracc_comestible')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->porcentaje_fracc_comestible); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->b_caroteno_equiv_totales_ug)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('b_caroteno_equiv_totales_ug')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->b_caroteno_equiv_totales_ug); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->retinol_ug)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('retinol_ug')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->retinol_ug); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->asct_mg)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('asct_mg')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->asct_mg); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->ch2o_g)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('ch2o_g')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->ch2o_g); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->equivalentes_totales)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('equivalentes_totales')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->equivalentes_totales); ?>
            </div>
        </div>

        <?php endif; ?>
    </div>